package com.startech.controller;

import com.startech.common.domain.vo.Result;
import com.startech.dto.SubmitDto;
import com.startech.vo.SubmitVO;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/submit")
@Api(tags = "submit相关接口")
@RequiredArgsConstructor
public class SubmitController {

    @PostMapping
    public Result submit(@RequestBody SubmitDto submitDTO) {
        System.out.println(submitDTO);
        SubmitVO submitVO = new SubmitVO();

        return Result.success(submitVO);
    }

}